<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<p th:text="${msg}"></p>
<form method="post" th:action="@{login}">
<input type="text" name="user"><br>
<input type="password" name="pwd"><br>
<input type="submit" value="提交">
</form>
</body>
</html>